<!DOCTYPE html>
<html>

	<head>
            <meta http-equiv="Content-Type" content="text/html; char="UTF-8">
                  <link rel="stylesheet" type="text/css" href= "<?php echo base_url()."application/public/css/login.css" ?>" >
	</head>
	<body align="center">
		<div id=site>
                    <div id="wrapperCadastro">       
                        <div id="greetingimg"><img src="<?php echo base_url()."application/public/images/cefelogo.png"?>" /></div>
		
                        <div id="cadastroUsuario">
                           
                            <?php echo form_open('Login_controller/cadastrar')?>
                            
                                <table>
                                    <thead class="inputAzulClaro"><th colspan="4"><label>Complete o cadastro abaixo</label></th></thead>
                                    <tbody>
                                        <tr class="inputAzulEscuro"><td colspan="4"> <?php echo validation_errors(); ?> </td></tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Nome</label></td><td><?php echo form_input('cadastroNome') ?></td>
                                             <td><label>Endereco</label></td><td><?php echo form_input('cadastroEndereco') ?></td>
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Data de Nascimento</label></td><td><?php echo form_input('cadastroDataNasc') ?></td>
                                            <td><label>Telefone</label></td><td><?php echo form_input('cadastroTel') ?></td>
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Mae</label</td>
                                            <td>
                                                <table>
                                                    <tbody>
                                                        <tr><td><label>Nome</label></td><td><?php echo form_input('cadastroMaeNome') ?></td></tr>
                                                        <tr><td><label>Telefone</label></td><td><?php echo form_input('cadastroMaeTel') ?></td></tr>
                                                        <tr><td><label>Celular</label></td><td><?php echo form_input('cadastroMaeCel') ?></td></tr>
        
                                                    </tbody>
                                                </table>
                                            </td>
                                            <td><label>Profissao pais/Responsavel</label></td><td><?php echo form_input('cadastroProfPaiResp') ?></td>
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Pai</label</td>
                                            <td>
                                                <table>
                                                    <tbody>
                                                        <tr><td><label>Nome</label></td><td><?php echo form_input('cadastroPaiNome') ?></td></tr>
                                                        <tr><td><label>Telefone</label></td><td><?php echo form_input('cadastroPaiTel') ?></td></tr>
                                                        <tr><td><label>Celular</label></td><td><?php echo form_input('cadastroPaiCel') ?></td></tr>
        
                                                    </tbody>
                                                </table>
                                            </td>
                                            <td><label>Com quem mora</label></td><td><?php echo form_input('cadastroQuemMora') ?></td>
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Responsavel</label</td>
                                            <td>
                                                <table>
                                                    <tbody>
                                                        <tr><td><label>Nome</label></td><td><?php echo form_input('cadastroRespNome') ?></td></tr>
                                                        <tr><td><label>Telefone</label></td><td><?php echo form_input('cadastroRespTel') ?></td></tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                            <td><label>Quantas pessoas moram</label></td><td><?php echo form_input('cadastroQuantosMoram') ?></td>
                                        </tr>                                 
                                        <tr class="inputAzulEscuro">
                                            <td><label>Renda mensal familiar</label></td><td><?php echo form_input('cadastroRenda') ?></td>
                                            <td><label>Escola</label></td><td><?php echo form_input('cadastroEscola') ?></td>
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Serie</label></td><td><?php echo form_input('cadastroSerie') ?></td>
                                            <td><label>Turno</label></td><td><?php echo form_input('cadastroTurno') ?></td>    
                                        </tr>
                                        <tr class="inputAzulEscuro">
                                            <td><label>Login</label></td>
                                            <td><?php echo form_input('cadastroLogin') ?></td>
                                            <td><label>Senha</label></td>
                                            <td>
                                                <table>
                                                    <tbody>
                                                        <tr><td><label>Digite a senha</label> <?php echo form_password('cadastroSenha') ?></td></tr>
                                                        <tr><td><label>Confirme a senha</label> <?php echo form_password('cadastroConfirmaSenha') ?></td></tr>
                                                    </tbody>
                                                </table>
                                            </td>
                                        </tr>                                        
                                        <tr class="inputAzulEscuro">
                                            <td colspan="4"><?php echo form_submit('cadastroSubmit', 'Cadastrar') ?></td>
                                        </tr>
                                         
                                    </tbody>
                                </table>

                            
                            
                            <?php form_close()?>
                            
                        </div>
                           

                    </div>
	
		</div>
			
	</body>


</html>
